<template>
  <div class="jiaxiaohudong">
    <el-container>
      <el-aside width="200px">
        <el-row class="tac">
          <el-col :span="12">
            <el-menu default-active="2" class="el-menu-vertical-demo" router>
              <el-sub-menu index="1">
                <template #title>
                  <el-icon><Bell /></el-icon>

                  <span>通知管理</span>
                </template>
                <el-menu-item
                  route="/index/jiaxiaohudong/informList"
                  index="1-1"
                  >通知列表</el-menu-item
                >
                <el-menu-item
                  route="/index/jiaxiaohudong/informType"
                  index="1-2"
                  >通知类型管理</el-menu-item
                >
              </el-sub-menu>
              <el-sub-menu index="2">
                <template #title>
                  <el-icon><Notification /></el-icon>
                  <span>学生请假</span>
                </template>

                <el-menu-item
                  route="/index/jiaxiaohudong/studentList"
                  index="2-1"
                  >学生请假列表</el-menu-item
                >
                <el-menu-item
                  route="/index/jiaxiaohudong/leaveReview"
                  index="2-2"
                  >学生请假审核</el-menu-item
                >
                <el-menu-item
                  route="/index/jiaxiaohudong/leaveRecord"
                  index="2-3"
                  >学生请假记录</el-menu-item
                >
              </el-sub-menu>
              <el-sub-menu index="3">
                <template #title>
                  <el-icon><DocumentRemove /></el-icon>
                  <span>相册管理</span>
                </template>
                <el-menu-item
                  route="/index/jiaxiaohudong/xiangceliebiao"
                  index="3-1"
                  >相册列表</el-menu-item
                >
                <el-menu-item
                  route="/index/jiaxiaohudong/shenheliebiao"
                  index="3-2"
                  >审核列表</el-menu-item
                >
                <el-menu-item
                  route="/index/jiaxiaohudong/shenheshezhi"
                  index="3-3"
                  >审核设置</el-menu-item
                >
              </el-sub-menu>
             <el-sub-menu index="4">
                <template #title>
                  <el-icon><PictureRounded /></el-icon>
                  <span>评价管理</span>
                </template>
                <el-menu-item
                  route="/index/jiaxiaohudong/pingjialiebiao"
                  index="4-1"
                  >评价列表</el-menu-item
                >
                <el-menu-item
                  route="/index/jiaxiaohudong/pingjiaquanxianshezhi"
                  index="4-2"
                  >评价权限设置</el-menu-item
                >
              </el-sub-menu>
             <el-sub-menu index="5">
                <template #title>
                  <el-icon
                    ><el-icon><DataBoard /></el-icon
                  ></el-icon>
                  <span>投票管理</span>
                </template>
                <el-menu-item
                  route="/index/jiaxiaohudong/toupiaoguanli"
                  index="5-1"
                  >投票管理</el-menu-item
                >
              </el-sub-menu>
              <el-sub-menu index="6">
                <template #title>
                  <el-icon><MostlyCloudy /></el-icon>
                  <span>健康中心</span>
                </template>
                <el-menu-item index="6-1" route="/index/jiaxiaohudong/jiankang"
                  >健康中心</el-menu-item
                >
              </el-sub-menu>
              <el-sub-menu index="7">
                <template #title>
                  <el-icon><PieChart /></el-icon>
                  <span>出勤确认</span>
                </template>
                <el-menu-item
                  index="7-1"
                  route="/index/jiaxiaohudong/chuqin/dinming"
                  >今日点名</el-menu-item
                >
                <el-menu-item
                  index="7-2"
                  route="/index/jiaxiaohudong/chuqin/chuqin"
                  >出勤统计</el-menu-item
                >
              </el-sub-menu>
            </el-menu>
          </el-col>
        </el-row>
      </el-aside>
      <el-main>
        <router-view />
      </el-main>
    </el-container>
  </div>
</template>

<script setup>
</script>

<style scoped>
.el-menu {
  width: 200px;
}
</style>